home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_21738.txt < prev    next >
Text File  |  1990-10-02  |  7KB  |  304 lines

  1. -- card: 21738 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 13480
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,chase,blasting
  13.   if direction = "up" then
  14.     go to card id 3186
  15.     exit move
  16.   end if
  17.   pass move
  18. end move
  19.  
  20. on closeCard
  21.   set the cursor to 4
  22.   put "" into field 3
  23. end closeCard
  24.  
  25. on take
  26.   global object,carried
  27.   -- remember to update carried if you do not pass take
  28.   pass take
  29. end take
  30.  
  31. on drop
  32.   global object,dropRoom,carried
  33.   -- remember to update carried if you do not pass drop
  34.   pass drop
  35. end drop
  36.  
  37. on use
  38.   global object,carried
  39.   -- update carried if use results in loss of object
  40.   pass use
  41. end use
  42.  
  43.  
  44.  
  45.  
  46.  
  47. -- part 16 (button)
  48. -- low flags: 80
  49. -- high flags: 2000
  50. -- rect: left=143 top=224 right=260 bottom=177
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 9301 / 9301
  53. -- text alignment: 1
  54. -- font id: 0
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: knife
  59. ----- HyperTalk script -----
  60. on mouseUp
  61.   global takeFlag,examFlag,object,cardID
  62.   put the name of the target into object
  63.   if takeFlag = true
  64.   then send take to card id cardID
  65. else put "a knife" into field 3
  66. put false into examFlag
  67. end mouseUp
  68.  
  69.  
  70.  
  71. -- part 17 (button)
  72. -- low flags: 80
  73. -- high flags: 2000
  74. -- rect: left=182 top=229 right=265 bottom=216
  75. -- title width / last selected line: 0
  76. -- icon id / first selected line: 1015 / 1015
  77. -- text alignment: 1
  78. -- font id: 0
  79. -- text size: 12
  80. -- style flags: 0
  81. -- line height: 16
  82. -- part name: nodule
  83. ----- HyperTalk script -----
  84. on mouseUp
  85.   global takeFlag,examFlag,object,cardID
  86.   put the name of the target into object
  87.   if takeFlag = true
  88.   then send take to card id cardID
  89. else put "a silicon sphere" into field 3
  90. put false into examFlag
  91. end mouseUp
  92.  
  93.  
  94.  
  95. -- part 18 (button)
  96. -- low flags: 80
  97. -- high flags: 2000
  98. -- rect: left=183 top=185 right=221 bottom=217
  99. -- title width / last selected line: 0
  100. -- icon id / first selected line: 14953 / 14953
  101. -- text alignment: 1
  102. -- font id: 0
  103. -- text size: 12
  104. -- style flags: 0
  105. -- line height: 16
  106. -- part name: ladder
  107. ----- HyperTalk script -----
  108. on mouseUp
  109.   global takeFlag,examFlag,object,cardID
  110.   put the name of the target into object
  111.   if takeFlag = true
  112.   then send take to card id cardID
  113. else put "a rope ladder" into field 3
  114. put false into examFlag
  115. end mouseUp
  116.  
  117.  
  118.  
  119. -- part 19 (button)
  120. -- low flags: 80
  121. -- high flags: 2000
  122. -- rect: left=97 top=223 right=259 bottom=131
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 1019 / 1019
  125. -- text alignment: 1
  126. -- font id: 0
  127. -- text size: 12
  128. -- style flags: 0
  129. -- line height: 16
  130. -- part name: bomb
  131. ----- HyperTalk script -----
  132. on mouseUp
  133.   global takeFlag,examFlag,object,cardID
  134.   put the name of the target into object
  135.   if takeFlag = true
  136.   then send take to card id cardID
  137. else put "a time bomb" into field 3
  138. put false into examFlag
  139. end mouseUp
  140.  
  141.  
  142.  
  143. -- part 20 (button)
  144. -- low flags: 80
  145. -- high flags: 2000
  146. -- rect: left=143 top=184 right=220 bottom=177
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 24317 / 24317
  149. -- text alignment: 1
  150. -- font id: 0
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: key
  155. ----- HyperTalk script -----
  156. on mouseUp
  157.   global takeFlag,examFlag,object,cardID
  158.   put the name of the target into object
  159.   if takeFlag = true
  160.   then send take to card id cardID
  161. else put "a key" into field 3
  162. put false into examFlag
  163. end mouseUp
  164.  
  165.  
  166.  
  167. -- part 21 (button)
  168. -- low flags: 80
  169. -- high flags: 2000
  170. -- rect: left=217 top=228 right=264 bottom=251
  171. -- title width / last selected line: 0
  172. -- icon id / first selected line: 7012 / 7012
  173. -- text alignment: 1
  174. -- font id: 0
  175. -- text size: 12
  176. -- style flags: 0
  177. -- line height: 16
  178. -- part name: gem
  179. ----- HyperTalk script -----
  180. on mouseUp
  181.   global takeFlag,examFlag,object,cardID
  182.   put the name of the target into object
  183.   if takeFlag = true
  184.   then send take to card id cardID
  185. else put "a glowing gem" into field 3
  186. put false into examFlag
  187. end mouseUp
  188.  
  189.  
  190.  
  191. -- part 22 (button)
  192. -- low flags: 80
  193. -- high flags: 2000
  194. -- rect: left=218 top=185 right=221 bottom=252
  195. -- title width / last selected line: 0
  196. -- icon id / first selected line: 23078 / 23078
  197. -- text alignment: 1
  198. -- font id: 0
  199. -- text size: 12
  200. -- style flags: 0
  201. -- line height: 16
  202. -- part name: orb
  203. ----- HyperTalk script -----
  204. on mouseUp
  205.   global takeFlag,examFlag,object,cardID
  206.   put the name of the target into object
  207.   if takeFlag = true
  208.   then send take to card id cardID
  209. else put "a crystal orb" into field 3
  210. put false into examFlag
  211. end mouseUp
  212.  
  213.  
  214.  
  215. -- part 41 (button)
  216. -- low flags: 00
  217. -- high flags: 0000
  218. -- rect: left=119 top=35 right=93 bottom=227
  219. -- title width / last selected line: 0
  220. -- icon id / first selected line: 0 / 0
  221. -- text alignment: 1
  222. -- font id: 0
  223. -- text size: 12
  224. -- style flags: 0
  225. -- line height: 16
  226. -- part name: 
  227. ----- HyperTalk script -----
  228. on mouseUp
  229.   global examFlag,takeFlag,direction,cardID
  230.   if takeFlag then
  231.     put "Cave vandal.  You can't reach them." into field 3
  232.     put false into takeFlag
  233.   else
  234.     put "Stalactites ('which cling tightly to the ceiling')." into field 3
  235.     put false into examFlag
  236.   end if
  237. end mouseUp
  238.  
  239.  
  240.  
  241. -- part 42 (button)
  242. -- low flags: 00
  243. -- high flags: 0000
  244. -- rect: left=23 top=26 right=47 bottom=107
  245. -- title width / last selected line: 0
  246. -- icon id / first selected line: 0 / 0
  247. -- text alignment: 1
  248. -- font id: 0
  249. -- text size: 12
  250. -- style flags: 0
  251. -- line height: 16
  252. -- part name: 
  253. ----- HyperTalk script -----
  254. on mouseUp
  255.   global examFlag,direction,cardID
  256.   if examFlag then
  257.     put "an opening leading up" into field 3
  258.     put false into examFlag
  259.   else
  260.     put "up" into direction
  261.     send move to card id cardID
  262.   end if
  263. end mouseUp
  264.  
  265.  
  266.  
  267. -- part 43 (button)
  268. -- low flags: 00
  269. -- high flags: 0000
  270. -- rect: left=17 top=45 right=182 bottom=118
  271. -- title width / last selected line: 0
  272. -- icon id / first selected line: 0 / 0
  273. -- text alignment: 1
  274. -- font id: 0
  275. -- text size: 12
  276. -- style flags: 0
  277. -- line height: 16
  278. -- part name: 
  279. ----- HyperTalk script -----
  280. on mouseUp
  281.   global examFlag,takeFlag,direction,cardID
  282.   if takeFlag then
  283.     put "Feeling very strong today, are we?" into field 3
  284.     put false into takeFlag
  285.   else
  286.     put "A natural stone 'ladder' allowing access to the hole above." into field 3
  287.     put false into examFlag
  288.   end if
  289. end mouseUp
  290.  
  291.  
  292.  
  293. -- part contents for background part 25
  294. ----- text -----
  295. Horta Pit
  296.  
  297. -- part contents for background part 24
  298. ----- text -----
  299. You are in the Horta's lair.  The walls of the chamber are covered with interesting flowstone structures, including a large natural stone "ladder" allowing access to the hole in the ceiling.  The floor looks as if it has been scorched black.
  300.  
  301.  
  302. -- part contents for background part 36
  303. ----- text -----
  304. 1